/* eslint-disable prettier/prettier */
import {StyleSheet} from 'react-native';
const styles = StyleSheet.create({
  dialogContainer: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    
    top: 0,
    left: 0,
    right: 0,
    bottom: 0, 
  },
  dialogContainer2: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    
    top: 0,
    left: 0,
    right: 0,
    bottom: 0, 
  },
  resultImage: {
    justifyContent: 'center',
    height: '30%',
    width: '60%',
    resizeMode: 'contain',
  },
  successText: {
    color: 'green',
    marginBottom: 20,
  },
  failureText: {
    color: 'red',
    marginBottom: 20,
  },
  buttonContainer: {
    flexDirection: 'row',
    justifyContent: 'center',
    alignItems: 'center',
  },
  button: {
     height:60,
    textAlign: 'center',
    justifyContent: 'center',
    width: '20%', // 增加按钮宽度，使其可以居中
    
    padding : 0,
    borderRadius: 10,
    backgroundColor: '#2bbceb',
    marginHorizontal: '20%', // 增加左右外边距，确保按钮之间有间隔
  },
  successButton: {
    width: '50%',
    alignItems: 'center',
  },
  failureButton: {
    width: '50%',
    alignItems: 'center',
  },
  buttonText: {
    position: 'absolute',
    flex: 0,
    top: '50%',
    left: '45%',
    color: 'white',

    textAlign: 'center', // 如果你想要文本居中
  },
  resultButton: {
    width: '50%',
    resizeMode: 'contain',
  },
  resulttitle: {
    alignContent: 'center',
    height:'100%',
 
  },
  link:{color:'#2bbceb',fontWeight:'bold',textDecorationLine:'underline',flexWrap: 'wrap'},
  quit: {
    height:'30%',
   textAlign: 'center', 
   justifyContent: 'center',
   width: '70%', // 增加按钮宽度，使其可以居中
   margin:5,
   padding : 0,
   borderRadius: 10,
   backgroundColor: '#2bbceb',
   
 },
 tt:{color:'white',fontWeight:'bold',textAlign:'center',},
 tb:{color:'black',fontWeight:'bold',textAlign:'center',fontSize:15}, 
 buttonbuy: {
  marginTop:20,
   
  height:30,
 justifyContent: 'center',
 width: '60%', // 增加按钮宽度，使其可以居中 
 borderRadius: 20,
 backgroundColor: '#2bbceb', 
 position:'relative',
 bottom:'0',
},
buttonbuy2: {
  marginTop:20,
   
  height:30,
 justifyContent: 'center',
 width: '60%', // 增加按钮宽度，使其可以居中 
 borderRadius: 20,
 backgroundColor: 'gery', 
 position:'relative',
 bottom:'0',
},
});

export default styles;
